package com.xhw.service.impl;

import com.xhw.mapper.SysCityMapper;
import com.xhw.po.SysCity;
import com.xhw.service.SysCityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SysCityServiceImpl implements SysCityService {
    @Autowired
    private SysCityMapper sysCityMapper;
    @Override
    public List<SysCity> findCitiesByPid(Integer pid) {
        return sysCityMapper.findCitiesByPid(pid);
    }
}
